package com.biovr.backend.repository;

import com.biovr.backend.domain.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface  DepartmentRepository extends MongoRepository<Department,String> {
    List<Department> findBySchoolId(String schoolId);
}
